Logging trace to /var/log/clickhouse-server/clickhouse-server.log Logging errors to /var/log/clickhouse-server/clickhouse-server.err.log /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:557:79: runtime error: 1.84467e+19 is outside the range of representable values of type 'unsigned long' #0 0x563506d95d32 in DB::ReadFromMergeTree::readInOrder(DB::RangesInDataParts, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>>, DB::MergeTreeReadPoolBase::PoolSettings, DB::MergeTreeReadType, unsigned long) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:557:79 #1 0x563506d9a29b in DB::ReadFromMergeTree::spreadMarkRangesAmongStreamsWithOrder(DB::RangesInDataParts&&, unsigned long, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>> const&, std::__1::optional&, std::__1::shared_ptr const&) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:992:28 #2 0x563506daf4f0 in DB::ReadFromMergeTree::spreadMarkRanges(DB::RangesInDataParts&&, unsigned long, DB::ReadFromMergeTree::AnalysisResult&, std::__1::optional&) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1948:16 #3 0x563506db28b5 in DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:2048:11 #4 0x563506d3b55b in DB::ISourceStep::updatePipeline(std::__1::vector>, std::__1::allocator>>>, DB::BuildQueryPipelineSettings const&) build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:20:5 #5 0x563506d72f20 in DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188:47 #6 0x56350365d73d in DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252:34 #7 0x56350365d1db in DB::InterpreterSelectQueryAnalyzer::execute() build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221:29 #8 0x563503bb9925 in DB::executeQueryImpl(char const*, char const*, std::__1::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) build_docker/./src/Interpreters/executeQuery.cpp:1231:40 #9 0x563503bb2ed2 in DB::executeQuery(std::__1::basic_string, std::__1::allocator> const&, std::__1::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) build_docker/./src/Interpreters/executeQuery.cpp:1397:26 #10 0x56350625ee27 in DB::TCPHandler::runImpl() build_docker/./src/Server/TCPHandler.cpp:569:54 #11 0x563506296135 in DB::TCPHandler::run() build_docker/./src/Server/TCPHandler.cpp:2514:9 #12 0x563509d1c1f7 in Poco::Net::TCPServerConnection::start() build_docker/./base/poco/Net/src/TCPServerConnection.cpp:43:3 #13 0x563509d1d331 in Poco::Net::TCPServerDispatcher::run() build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115:38 #14 0x563509c70a80 in Poco::PooledThread::run() build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205:14 #15 0x563509c6ba4e in Poco::ThreadImpl::runnableEntry(void*) build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:335:27 #16 0x7fcd3f497ac2 (/lib/x86_64-linux-gnu/libc.so.6+0x94ac2) (BuildId: 490fef8403240c91833978d494d39e537409b92e) #17 0x7fcd3f52984f (/lib/x86_64-linux-gnu/libc.so.6+0x12684f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:557:79 /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:557: runtime error: 1.84467e+19 is outside the range of representable values of type 'unsigned long' #0 0x563506d95d32 in DB::ReadFromMergeTree::readInOrder(DB::RangesInDataParts, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>>, DB::MergeTreeReadPoolBase::PoolSettings, DB::MergeTreeReadType, unsigned long) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:557:79 #1 0x563506d9a29b in DB::ReadFromMergeTree::spreadMarkRangesAmongStreamsWithOrder(DB::RangesInDataParts&&, unsigned long, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>> const&, std::__1::optional&, std::__1::shared_ptr const&) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:992:28 #2 0x563506daf4f0 in DB::ReadFromMergeTree::spreadMarkRanges(DB::RangesInDataParts&&, unsigned long, DB::ReadFromMergeTree::AnalysisResult&, std::__1::optional&) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1948:16 #3 0x563506db28b5 in DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:2048:11 #4 0x563506d3b55b in DB::ISourceStep::updatePipeline(std::__1::vector>, std::__1::allocator>>>, DB::BuildQueryPipelineSettings const&) build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:20:5 #5 0x563506d72f20 in DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188:47 #6 0x56350365d73d in DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252:34 #7 0x56350365d1db in DB::InterpreterSelectQueryAnalyzer::execute() build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221:29 #8 0x563503bb9925 in DB::executeQueryImpl(char const*, char const*, std::__1::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) build_docker/./src/Interpreters/executeQuery.cpp:1231:40 #9 0x563503bb2ed2 in DB::executeQuery(std::__1::basic_string, std::__1::allocator> const&, std::__1::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) build_docker/./src/Interpreters/executeQuery.cpp:1397:26 #10 0x56350625ee27 in DB::TCPHandler::runImpl() build_docker/./src/Server/TCPHandler.cpp:569:54 #11 0x563506296135 in DB::TCPHandler::run() build_docker/./src/Server/TCPHandler.cpp:2514:9 #12 0x563509d1c1f7 in Poco::Net::TCPServerConnection::start() build_docker/./base/poco/Net/src/TCPServerConnection.cpp:43:3 #13 0x563509d1d331 in Poco::Net::TCPServerDispatcher::run() build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115:38 #14 0x563509c70a80 in Poco::PooledThread::run() build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205:14 #15 0x563509c6ba4e in Poco::ThreadImpl::runnableEntry(void*) build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:335:27 #16 0x7fcd3f497ac2 (/lib/x86_64-linux-gnu/libc.so.6+0x94ac2) (BuildId: 490fef8403240c91833978d494d39e537409b92e) #17 0x7fcd3f52984f (/lib/x86_64-linux-gnu/libc.so.6+0x12684f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:557 /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:557: runtime error: 1.84467e+19 is outside the range of representable values of type 'unsigned long' #0 0x563506d95d32 in DB::ReadFromMergeTree::readInOrder(DB::RangesInDataParts, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>>, DB::MergeTreeReadPoolBase::PoolSettings, DB::MergeTreeReadType, unsigned long) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:557:79 #1 0x563506d9a29b in DB::ReadFromMergeTree::spreadMarkRangesAmongStreamsWithOrder(DB::RangesInDataParts&&, unsigned long, std::__1::vector, std::__1::allocator>, std::__1::allocator, std::__1::allocator>>> const&, std::__1::optional&, std::__1::shared_ptr const&) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:992:28 #2 0x563506daf4f0 in DB::ReadFromMergeTree::spreadMarkRanges(DB::RangesInDataParts&&, unsigned long, DB::ReadFromMergeTree::AnalysisResult&, std::__1::optional&) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1948:16 #3 0x563506db28b5 in DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:2048:11 #4 0x563506d3b55b in DB::ISourceStep::updatePipeline(std::__1::vector>, std::__1::allocator>>>, DB::BuildQueryPipelineSettings const&) build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:20:5 #5 0x563506d72f20 in DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188:47 #6 0x56350365d73d in DB::InterpreterSelectQueryAnalyzer::buildQueryPipeline() build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:252:34 #7 0x56350365d1db in DB::InterpreterSelectQueryAnalyzer::execute() build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:221:29 #8 0x563503bb9925 in DB::executeQueryImpl(char const*, char const*, std::__1::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) build_docker/./src/Interpreters/executeQuery.cpp:1231:40 #9 0x563503bb2ed2 in DB::executeQuery(std::__1::basic_string, std::__1::allocator> const&, std::__1::shared_ptr, DB::QueryFlags, DB::QueryProcessingStage::Enum) build_docker/./src/Interpreters/executeQuery.cpp:1397:26 #10 0x56350625ee27 in DB::TCPHandler::runImpl() build_docker/./src/Server/TCPHandler.cpp:569:54 #11 0x563506296135 in DB::TCPHandler::run() build_docker/./src/Server/TCPHandler.cpp:2514:9 #12 0x563509d1c1f7 in Poco::Net::TCPServerConnection::start() build_docker/./base/poco/Net/src/TCPServerConnection.cpp:43:3 #13 0x563509d1d331 in Poco::Net::TCPServerDispatcher::run() build_docker/./base/poco/Net/src/TCPServerDispatcher.cpp:115:38 #14 0x563509c70a80 in Poco::PooledThread::run() build_docker/./base/poco/Foundation/src/ThreadPool.cpp:205:14 #15 0x563509c6ba4e in Poco::ThreadImpl::runnableEntry(void*) build_docker/./base/poco/Foundation/src/Thread_POSIX.cpp:335:27 #16 0x7fcd3f497ac2 (/lib/x86_64-linux-gnu/libc.so.6+0x94ac2) (BuildId: 490fef8403240c91833978d494d39e537409b92e) #17 0x7fcd3f52984f (/lib/x86_64-linux-gnu/libc.so.6+0x12684f) (BuildId: 490fef8403240c91833978d494d39e537409b92e) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:557